import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
import actions from './actions'
import getters from './getters'
import mutations from './mutations'

export default new Vuex.Store({
	state: {
		token:'',
		refreshToken:'',
		expires:'',
		menuData:[],
		menuIndex:[],
		menuActive:'0',
		menuOpen:['0'],
		spinShow:false,
		userInfo:{},
		welisten:{
			order:{
				currentId:0
			}
		}
	},
	mutations,
	getters,
	actions
})